    package com.ruoyi.system.domain.vo;

    import com.fasterxml.jackson.annotation.JsonFormat;
    import com.ruoyi.common.annotation.Excel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;

    import java.io.Serializable;
    import java.math.BigDecimal;
    import java.time.LocalDateTime;
    import java.util.Date;
    import java.util.List;

    /**
     * 用户对象 bdm_user
     *
     * @author ruoyi
     * @date 2024-12-07
     */
    @Data
    public class BdmUserVo implements Serializable {

        private Long id;

        /**
         * 系统用户id
         */
        @Excel(name = "系统用户id")
        private Long sysUserid;

        /**
         * 父id 推荐者id
         */
        @Excel(name = "父id 推荐者id")
        private Long parentId;

        /**
         * 分销奖励上一级id
         */
        @Excel(name = "分销奖励上一级id")
        private Long distributionParentId;

        /**
         * 是否有奖金池分红标识 1有 2无
         */
        @Excel(name = "是否有奖金池分红标识 1有 2无")
        private Long bonusFlag;

        /**
         * 支付密码
         */
        @Excel(name = "支付密码")
        private String payCode;

        /**
         * 余额
         */
        @Excel(name = "余额")
        private BigDecimal remainingSum;

        /**
         * 收益
         */
        @Excel(name = "收益")
        private BigDecimal earnings;

        /**
         * 积分
         */
        @Excel(name = "积分")
        private String creditScore;

        /**
         * 累计充值
         */
        @Excel(name = "累计充值")
        private String totalTopUp;

        /**
         * 累计提现
         */
        @Excel(name = "累计提现")
        private String totalWithdraw;

        /**
         * 累计消费金额
         */
        @Excel(name = "累计消费金额")
        private String totalConsumeMomey;

        /**
         * 状态
         */
        @Excel(name = "状态")
        private Long status;

        @Excel(name = "奖金分红池位置")
        private Integer location;

        @ApiModelProperty(value = "昵称")
        private String nickName;

        @ApiModelProperty(value = "头像")
        private String avatar;

        @ApiModelProperty(value = "手机号")
        private String phonenumber;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @ApiModelProperty(value = "达成时间")
        private LocalDateTime bonusFlagTime;

        @ApiModelProperty(value = "获取分红总金额")
        private BigDecimal userCountAmount;
       // openid
        private String openId;

        private List<BdmUserVo> bdmUserVoList;

        private String memberName;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;

        // VIP业绩 值为1
        private BigDecimal totalPayMoneyLevelVip;

        // 单品业绩 值为null
        private BigDecimal totalPayMoneyNull;

        // 大礼包业绩 值为1和null的其他值
        private BigDecimal totalPayMoneyOther;

        // 订单数量
        private Integer orderSize;

        // 业绩
        private BigDecimal performance;

        // 下级人数
        private Integer subordinateNum;

        /** 代理等级 */
        private Integer level;

        /** 库存总数量 */
        private Long stockCount;
        // 代理名称
//        private String memberName;
        // 会员等级
        private Integer vipLevel;
        // 会员名称
        private String vipMemberName;

        // 是否第一次绑定上级
        private Long ifOne;

        // 是否开启奖金池分红
        private Integer bonusStatus;
    }
